/*
 * jxUtils Project (2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * LGPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxUtils.i18n;

import java.util.Locale;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxUtils
 * @package org.jxUtils.i18n
 * @date 19/07/2014 - 17:34:05
 */
public final class FileMessages extends Localizator {
	
	private static final String className = FileMessages.class.getSimpleName().replace("Messages", "");
	
	/**
	 * 
	 */
	public FileMessages() {
	
		this(Locale.getDefault());
	}
	
	/**
	 * @param locale
	 */
	public FileMessages(final Locale locale) {
	
		super(PACKAGE_NAME + ".messages." + className, locale);
	}
	
	/**
	 * @param path
	 * @return i18n message
	 */
	public String directoryNotExists(final String path) {
	
		return getMessage("$directory.not.exists", path);
	}
	
	/**
	 * @return i18n message
	 */
	public String fileCanExecute() {
	
		return getMessage("file.canExecute");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileCanRead() {
	
		return getMessage("file.canRead");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileCanWrite() {
	
		return getMessage("file.canWrite");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileDirectory() {
	
		return getMessage("file.directory");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileIcon() {
	
		return getMessage("file.icon");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileLastModified() {
	
		return getMessage("file.lastModified");
	}
	
	/**
	 * @return i18n message
	 */
	public String fileName() {
	
		return getMessage("file.name");
	}
	
	/**
	 * @param path
	 * @return i18n message
	 */
	public String fileNotExists(final String path) {
	
		return getMessage("$file.not.exists", path);
	}
	
	/**
	 * @return i18n message
	 */
	public String fileSize() {
	
		return getMessage("file.size");
	}
	
	/**
	 * @param path
	 * @return i18n message
	 */
	public String pathIsNotDirectory(final String path) {
	
		return getMessage("$path.isNot.directory", path);
	}
	
	/**
	 * @param path
	 * @return i18n message
	 */
	public String pathIsNotFile(String path) {
	
		return getMessage("$path.isNot.file", path);
	}
}
